module.exports = function (mongoose) {
	var commentSchema = mongoose.Schema({
		blog_id:{
			type:String,
			default:'',
		},
		user_id:{
			type:String,
			default:''
		},
		user_name:{
			type:String,
			default:''
		},
		comment:{
			type:String,
			default:''
		},
		add_time:{
			type:Date,
			default:Date.now()
		}
	});

	var commentModel = mongoose.model('comment',commentSchema);
	return commentModel;
};